//
//  KWxPayModel.m
//  Keping
//
//  Created by 吴嘉佳 on 2017/11/8.
//  Copyright © 2017年 柯平. All rights reserved.
//

#import "KWxPayModel.h"

@implementation KWxPayModel

-(BOOL)modelCustomTransformFromDictionary:(NSDictionary*)dic{
    NSString* noncestr = [dic objectForKey:@"nonce_str"];
    if ([noncestr isEqual:[NSNull null]] || ![noncestr isNotBlank]) {
        noncestr = [dic objectForKey:@"nonce_str"];
    }
    self.noncestr = noncestr;
    
    
    
    NSString* prepayid = [dic objectForKey:@"prepay_id"];
    if ([prepayid isEqual:[NSNull null]] || ![prepayid isNotBlank]) {
        prepayid = [dic objectForKey:@"prepay_id"];
    }
    self.prepayid = prepayid;
    self.partnerid = @"1516229791";
    self.package = @"Sign=WXPay";

   
    return YES;
}

@end
